namespace Org.Loon.Framework.Xna.Game.Action.Scripting.Pack
{
    using Org.Loon.Framework.Xna.Game.Core.Graphics.OpenGL;
    using Org.Loon.Framework.Xna.Game.Core.Graphics;

    public abstract class PackTile
    {
        public abstract int Width();

        public abstract int Height();

        public abstract void Update(long t);

        public abstract void Draw(LTexturePack pack, float x, float y, LColor c);

        public abstract bool IsSolid();

        public abstract void SetSolid(bool s);

        public virtual PackTile Touch(PackSprite sprite, float x, float y)
        {
            return this;
        }

    }

}
